package com.cfy.mybatis.spring;

import com.dubbo.service.api.mainpk.User;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import com.dubbo.service.api.FooService;

import java.util.Map;


public class TestMain {
    public static void main(String[] args) {
        ApplicationContext acs = new ClassPathXmlApplicationContext("classpath:applicationContext-MFBean.xml");
        FooService fs = (FooService)acs.getBean("fooService");
        User you = fs.doSomeBusinessStuff("ui");
        System.out.println(you);
    }
}
